#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main() {
	int i = 0;
	int max = 0;
	int a = 0;
	for (i = 0; i<4; i++)
	{
		scanf("%d", &a);
		if (a>max)
			max = a;
	}
	printf("%d", max);
	return 0;
}


#include <stdio.h>

int main() {
	int yera = 0;
	int mauth = 0;
	int day = 0;
	scanf("%d %d %d", &yera, &mauth, &day);
	printf("%d/%d/%d", day, mauth, yera);
	return 0;
}